package com.zhuoshi.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhuoshi.bean.WdOpeningReport;
import com.zhuoshi.bean.WdPayType;
import com.zhuoshi.mapper.WdOpeningReportMapper;
import com.zhuoshi.service.ShenheService;
@Service
public class ShenheServiceImpl implements ShenheService{
	@Autowired
    private WdOpeningReportMapper wdOpeningReportMapper;

	@Override
	public List<WdOpeningReport> findAllShenhe() {
		List<WdOpeningReport> findAllShenhelist = wdOpeningReportMapper.findAllSH();  
	     return findAllShenhelist; 

	}
	@Override
	public boolean updateShenhe(String openingReportId) {
		return wdOpeningReportMapper.Shenhe(openingReportId); 	
	}
	@Override
	public boolean updateShenheh(String openingReportId) {
		return wdOpeningReportMapper.Shenhehe(openingReportId); 
	}
	
	
}
